import xadmin
from users.models import VerifyCode


class VerifyCodeAdmin(object):
    list_display = ['code', 'mobile', 'send_type', 'send_time']
    search_fields = ['code', 'mobile', 'send_type']
    list_filter = ['code', 'mobile', 'send_type', 'send_time']


xadmin.site.register(VerifyCode, VerifyCodeAdmin)
